package com.example.demo.zhoushengwen.service.impl;

import com.example.demo.Dao.ParameterLogExtRepository;
import com.example.demo.Dao.RequestLogRepository;
import com.example.demo.Entity.ParametersLogExt;
import com.example.demo.Entity.RequestLogExt;
import com.example.demo.zhoushengwen.service.ParametersLogExtService;
import com.example.demo.zhoushengwen.service.RequestLogExtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Service;

import java.security.Policy;

@ComponentScan(basePackages = "com.example.demo")
@Service
public class ParametersLogExtServiceImpl implements ParametersLogExtService {
    @Autowired
    private ParameterLogExtRepository parameterLogExtRepository;

    @Override
    public void insert(ParametersLogExt parametersLogExt) {
        parameterLogExtRepository.save(parametersLogExt);
    }
}
